import { Button, Result } from 'antd';

import { history } from '@umijs/max';
import React from 'react';
import { useIntl } from '@umijs/max';
const NoFoundPage: React.FC = () => {


  const intl = useIntl();

  


  return (
    <Result
      status="500"
      title="504"
      subTitle={intl.formatMessage({ id: 'app.NoInternet' })}
      extra={
        <Button type="primary" onClick={() => history.push('/')}>
          Back Home
        </Button>
      }
    />
  );
};

export default NoFoundPage;
